package com.neu.fenli2023623.mapper;

import com.neu.fenli2023623.dto.DoctorDto;
import com.neu.fenli2023623.entity.Doctor;
import com.neu.fenli2023623.vo.DoctorVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author houjie
* @description 针对表【doctor(医生管理)】的数据库操作Mapper
* @createDate 2023-07-03 17:29:09
* @Entity com.neu.fenli2023623.entity.Doctor
*/

@Mapper
public interface DoctorMapper {

    List<DoctorVo> selectAllDoctor();//显示所有医生信息

    int deleteByPrimaryKey(Long id);//删除医生信息

    int insert(DoctorDto record);//新增医生信息

    List<Doctor> selectDoctorByName(String name);//模糊查询医生信息

    Doctor selectByPrimaryKey(Long id);

    int updateByPrimaryKey(DoctorDto record);//更新医生信息



//    int insertSelective(Doctor record);
//    int updateByPrimaryKeySelective(Doctor record);


}
